<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">


<head>
    <title>首面</title>
    <meta content="text/html;charset=UTF-8" http-equiv="CONTENT-TYPE"/>
</head>

<body>
<h2>这是首页</h2>
<p>
    <span th:text="'当前用户为: ' + ${name}"></span>
</p>
</body>

</html>